#ifndef _DECORATORS_H_
#define _DECORATORS_H_
#include "SimpleNode.h"
#include "ast/decoratorsType.h"

class Decorators: public SimpleNode
{
public:
    Decorators(const DecoratorsTypeList& exp, int nodeId):
        SimpleNode(nodeId),
        _exp(exp)
    {
    }
    virtual ~Decorators(){}

    DecoratorsTypeList* exp(){ return &_exp; }
    void setExp(const DecoratorsTypeList& exp) { _exp = exp; }
private:
    DecoratorsTypeList _exp;
};

typedef QSharedPointer<Decorators> DecoratorsPtr;

#endif
